	<?
	
	
	
	//$mygroup = 'member';
	//$user = $_COOKIE["current_user"];
	//$wrdp = $_COOKIE["wrdp"];
	
	// если залогинен, то показываем меню
	if ($objUser->isLoggedIn()) {
		View_User::viewUserLeftColumnProfile();
	
//	if (!isset($mydir)) $mydir = 'member';
//		include (ABSPATH.$mydir."/menu_user.php");
		
	} else {
	?>

			<div class="autorization">
				<form id="userLoginLeft" action="<?=W_ABSPATH?>login" method="POST">
					<ul class="autn_f">
						<li><label><span class="name_col"><?=_("Login")?>:</span>
						<input type="text" class="in_txt" name="user" /></label></li>
						<li><label><span class="name_col"><?=_("Password")?>:</span>
						<input type="password" class="in_txt" name="pswrd" /></label></li>
						<li><input type="submit" class="enter" value="<?=_("Enter")?>" name="userLoginLeft" />
						<input type="button" class="reg" value="<?=_("Registrtaion")?>" onClick="window.location = '<?=W_ABSPATH?>registration/'" /></li>
						<li><label><input type="checkbox" name="userRemember"/> <span class="remember"><?=_("Remember me")?></span></label></li>
<?


$ref = getenv("HTTP_REFERER");  
if (!$ref) 
	$ref = isset($_GET["ref"]) ? absolutelyEscapeString($_GET["ref"]) : "";
$return = isset($_POST["return"]) ? absolutelyEscapeString($_POST["return"]) : "";


?>
			    <input type=hidden name=return value='<?=$ref?>'>
					</ul>	
				</form>	
			</div><!-- .autorization -->

	<? } ?>
<!--<a href="http://www.prconf.ru/" target="_blank"><img src="http://m.prconf.ru/images/240x400.gif" alt="Конференция PR в Интернете" border="0" /></a>-->